package com.yilife.kdys;


public class JSONResult {
    public JSONResult() {
    }

    public JSONResult(Integer errorcode) {
        this.errorcode = errorcode;
    }

    public JSONResult(Object data) {
        this.data = data;
    }

    public JSONResult(Integer errorcode, String errormsg) {
        this.errorcode = errorcode;
        this.errormsg = errormsg;
    }

    public JSONResult(Integer errorcode, Object data) {
        this.errorcode = errorcode;
        this.data = data;
    }

    public JSONResult(Integer errorcode, String errormsg, Object data) {
        this.errorcode = errorcode;
        this.errormsg = errormsg;
        this.data = data;
    }

    private Integer errorcode = 0;
    private String errormsg = "";
    private Object data = "";

    public Integer getErrorcode() {
        return errorcode;
    }

    public void setErrorcode(Integer errorcode) {
        this.errorcode = errorcode;
    }

    public String getErrormsg() {
        return errormsg;
    }

    public void setErrormsg(String errormsg) {
        this.errormsg = errormsg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
